<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>班级列表</title>
</head>
<body>
<h2>班级列表</h2>
<div>
    <table border="1">
        <tr>
            <th>ID</th>
            <th>班级名称</th>
            <th>班级代码</th>
        </tr>
        <li th:each="class:${classes}">
        <tr>
            <td><span th:text="${class.id}"></span></td>
            <td><span th:text="${class.className}"></span></td>
            <td><span th:text="${class.classCode}"></span></td>
        </tr>
        </li>
    </table>
</div>
</body>
</html>